using System;
using System.ServiceModel.Configuration;

namespace OrbitOne.Elmah.Web.Services
{
    public class ErrorHandlingBehaviorExtentionElement : BehaviorExtensionElement
    {
        protected override object CreateBehavior()
        {
            return new ErrorHandlerBehavior();
        }

        public override Type BehaviorType
        {
            get { return typeof (ErrorHandlerBehavior); }
        }
    }
}